from selenium import webdriver
from selenium.webdriver.support.ui import Select

driver = webdriver.Chrome()

driver.get('http://cdn1.python3.vip/files/selenium/test2.html')

# 单选框
select = Select(driver.find_element_by_css_selector('#ss_single'))

select.select_by_visible_text("小雷老师")

selected = driver.find_element_by_css_selector('#ss_single option[selected="selected"]')

print(selected.text)